/**
 * 版权所有 Copyright@@2016-03-18 1:53:48
 */
package com.fairy.sso;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * [SSOConstants.java.java]
 *
 * @Author: [yyk1504@163.com]
 * @CreateDate: [2016-03-18 1:53:48]
 * @Update: [说明本次修改内容] by [yyk1504@163.com] [2016-03-18 1:53:48]
 * @Version: [v1.0]
 */
public class SSOConstants {

	public static int temp=1;
	public static String CACHE_TYPE_LOCAL="local";
	public static String CACHE_TYPE_REDIS="redis";
	public static String CACHE_TYPE_SESSION="session";
	public static String CACHE_TYPE_DB="db";
	public static String CACHE_TYPE_DUBBO="dubbo";
	
	public static String LOGIN_PAGE_SUBMIT_INFO_USERNAME="userName";
	public static String LOGIN_PAGE_SUBMIT_INFO_PASSWORD="passWord";
	
	public static String CLIENT_URL="service";
	
	
	public static String SSO_COOKIE_KEY="FAIRY-SSO-KEY";//fairy-sso-key
	
	//public static Map<String, String>ticketMap=new HashMap<String, String>();
	//public static List<String>ipList=new ArrayList<String>();
	
	
	
	public static List<String>noCheckUrlList=new ArrayList<String>();
	static{
	noCheckUrlList.add("/index.do");
	noCheckUrlList.add("/login.do");
	noCheckUrlList.add("/logout.do");
	noCheckUrlList.add("/ticket.do");
	}
}
